Learning Random Numbers: a MATLAB Anomaly

نویسندگان

  • Petr Savický
  • Marko Robnik-Sikonja
چکیده

We describe how dependencies between random numbers generated with some popular pseudorandom number generators can be detected using general purpose machine learning techniques. This is a novel approach, since usually, pseudorandom number generators are evaluated using tests specifically designed for this purpose. Such specific tests are more sensitive. Hence, detecting the dependence using machine learning methods implies that the dependence is indeed very strong. The most important example of a generator, where dependencies may easily be found using our approach, is Matlab’s function rand if the method state is used. This method was the default in Matlab versions between 5 (1995) and 7.3 (2006b), i.e. for more than 10 years. In order to evaluate the strength of the dependence in it, we used the same machine learning tools to detect dependencies in some other random number generators, which are known to be bad or insufficient for large simulations: the infamous RANDU, ANSIC, the oldest generator in C library, Minimal Standard generator, suggested by Park and Miller in 1988, and the rand function in Microsoft C compiler.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Vas Simulation Modeling . Random Numbers

Any algorithm of simulating the behavior of a real system requires a random number generator. A computer does not really generate random numbers because computer employs a deterministic algorithm but a list of pseudo-random numbers which can be considered random. There are many algorithms for computing random numbers and there is not a single best among them. Most programing languages have buil...

متن کامل

Chapter 9 Random Numbers

This chapter describes algorithms for the generation of pseudorandom numbers with both uniform and normal distributions. This is the first number produced by the Matlab random number generator with its default settings. Start up a fresh Matlab, set format long, type rand, and it's the number you get. If all Matlab users, all around the world, all on different computers, keep getting this same n...

متن کامل

Dlib-ml: A Machine Learning Toolkit

There are many excellent toolkits which provide support for developing machine learning software in Python, R, Matlab, and similar environments. Dlib-ml is an open source library, targeted at both engineers and research scientists, which aims to provide a similarly rich environment for developing machine learning software in the C++ language. Towards this end, dlib-ml contains an extensible lin...

متن کامل

A Novel Ensemble Approach for Anomaly Detection in Wireless Sensor Networks Using Time-overlapped Sliding Windows

One of the most important issues concerning the sensor data in the Wireless Sensor Networks (WSNs) is the unexpected data which are acquired from the sensors. Today, there are numerous approaches for detecting anomalies in the WSNs, most of which are based on machine learning methods. In this research, we present a heuristic method based on the concept of “ensemble of classifiers” of data minin...

متن کامل

A production-inventory model with permissible delay incorporating learning effect in random planning horizon using genetic algorithm

This paper presents a production-inventory model for deteriorating items with stock-dependent demand under inflation in a random planning horizon. The supplier offers the retailer fully permissible delay in payment. It is assumed that the time horizon of the business period is random in nature and follows exponential distribution with a known mean. Here learning effect is also introduced for th...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Applied Artificial Intelligence

دوره 22  شماره 

صفحات  -

تاریخ انتشار 2008